<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="js/jquery-1.4.4.min.js" type="text/javascript"></script> 
<script src="js/jquery.validate.js" type="text/javascript"></script> 
<script src="js/messages_cn.js" type="text/javascript"></script> 
<script type="text/javascript"> 

$().ready(function() {
	// validate signup form on keyup and submit
	$("#emseform").validate({
		rules: {
			"sname":{
				minlength:1},
			"minid":{
				min:1,
				number:true},
			"maxid":{
				min:1,
					number:true},
			"sminage":{
				range:[18,160],
				number:true},
				"smaxage":{
					range:[18,160],
					number:true},
				"sworkty":{
					
					},
					"sdiv":{
						number:true
						
						},
					"sedu":{
						
						
						},
					"sworkys":{
						date:true
						
						}
						
	        
		   }
		})
	;});
</script> 

</head>
<body>
<div id="main">
  <div>
 <!-- -->
  <form action="emsearch!search" method="get" id="emseform">
  <ul>
<li>姓名</li>
<li><input type="text" name="sname" value="" /></li>
<li> id范围</li>
 <li> <input type="text" name="minid" />~<input type="text" name="maxid" /></li>
 <li>年龄范围 </li> 
  <li><input type="text" name="sminage"  value="" />~<input type="text" name="smaxage"  value="" /> </li> 
<li>工种</li>
<li><input type="text" name="sworkty" value="" /> </li>
<li>部门id</li>
<li><input type="text" name="sdiv" value="" /></li>
<li>学历</li>
 <li><input type="text" name="sedu" value="" /></li>
 <li>工作时长（单位：年)</li>
 <li><input type="text" name="sworkys" value=""  /></li>
<li><input type="submit" value="查找" value=""  /></li>
</ul>
  </form>
<a href="hremAction!employeeList">返回</a>
<s:property value="sname" />
<s:property value="sphone" />
  </div>


  <s:debug></s:debug>
</div>
</body>
</html>